package com.chenye.rabbitmq.rabbit;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * @Auther:chenye
 * @Data:2018/4/16
 * @Description:
 */
@Data
@AllArgsConstructor
public class DLXMessage implements Serializable {
    private static final long serialVersionUID = -989519347053471587L;
    private String exchange;
    private String queueName;
    private String body;
    private Long times;

    public DLXMessage(String queueName, String body, Long times) {
        this.queueName = queueName;
        this.body = body;
        this.times = times;
    }
}
